import request from "../utils/request";

// 获取数据
export const apiClassify = (data) => {
  return request({ url: "/api/classify", method: "post", data });
};

// 添加
export const apiAddClassify = (data) => {
  return request({ url: "/api/addClassify", method: "post", data });
};

// 更新
export const apiUpdateClassify = (data) => {
  return request({ url: "/api/updateClassify", method: "post", data });
};

// 删除
export const apiDelClassify = (data) => {
  return request({ url: "/api/delClassify", method: "post", data });
};
